package apcsif; 

public class Globals {
    private static Player newPlayer;

    public static void newPlayer(String name) {
        newPlayer = new Player(name, true);
    }

    public static void takeItem(String item) {
        newPlayer.add(item);
    }

    public static void getInv() {
        newPlayer.getInv();
    }

    //public static void dropItem() {
    //    newPlayer.discard(Parser.param());
    //}
    
    public static void dropItem(String item)
    {
        newPlayer.discard(item);
    }
    
    public static void gameOver()
    {
        newPlayer.gameOver();
    }
    
    public static void equip(String item) {
        newPlayer.equip(item);        
    }
    
    public static String getHands() {
        return(newPlayer.getHands());
    }
    public static String right()
    {
        return newPlayer.getRight();
    }
    public static String left()
    {   
        return newPlayer.getLeft();
    }
    public static String name()
    {
        return newPlayer.getName();
    }
    public static void biWinning()
    {
        newPlayer.win();
        
    }
}
